﻿using System.Device.Location;
using System.Windows.Media.Imaging;

namespace Amicus_Place_Finder
{
    public class PlaceItem
    {
        public GeoCoordinate Location
        {
            get { return new GeoCoordinate(latitude, longitude); }
        }

        public int ID { get; set; }

        public string Name { get; set; }

        public string address { get; set; }

        public double latitude { get; set; }

        public double longitude { get; set; }

        public double distance { get; set; }

        public string reference { get; set; }

        public BitmapImage Icon { get; set; }

        public string Url { get; set; }
        public string Id { get; set; }
        public string street { get; set; }
        public string city { get; set; }
        public string state { get; set; }
        public string country { get; set; }
        public string zip { get; set; }
        public string categoryName { get; set; }
        public string categoryId { get; set; }

    }
}
